package cn.iocoder.yudao.module.ao.controller.admin.student.vo;

import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 学生信息分页 Request VO")
@Data
public class StudentPageReqVO extends PageParam {

    @Schema(description = "学号")
    private String studentNo;

    @Schema(description = "姓名", example = "王五")
    private String name;

    @Schema(description = "性别（1男 2女）")
    private Integer gender;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "所属班级ID", example = "10419")
    private Long classId;

    @Schema(description = "所属专业ID", example = "18855")
    private Long majorId;

    @Schema(description = "入学日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] enrollmentDate;

    @Schema(description = "入学学期ID", example = "17576")
    private Long enrollmentTermId;

    @Schema(description = "毕业日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] graduationDate;

    @Schema(description = "当前学期数")
    private Integer currentSemester;

    @Schema(description = "已获得学分")
    private BigDecimal totalCredits;

    @Schema(description = "平均绩点")
    private BigDecimal gpa;

    @Schema(description = "监护人姓名", example = "芋艿")
    private String guardianName;

    @Schema(description = "监护人电话")
    private String guardianPhone;

    @Schema(description = "家庭地址")
    private String address;

    @Schema(description = "状态（0在读 1毕业 2退学 3休学 4转学）", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}